package com.boot.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class User {

    private Long id;

    private Date addTime;

    private String userName;

    private String password;

    //关联关系加上
    private Address address;

    //一个用户有多个菜单
    private List<Menu> menus;

}
